home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 July / EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso / earcd / phase5 / ppcrelease / examples / msg2oldppc.elf.dump < prev    next >
Text File  |  1998-02-21  |  8KB  |  223 lines

  1.  
  2. Msg2oldPPC.elf:     file format elf32-powerpc
  3. Msg2oldPPC.elf
  4. architecture: powerpc:common, flags 0x00000011:
  5. HAS_RELOC, HAS_SYMS
  6. start address 0x00000000
  7.  
  8. Sections:
  9. Idx Name          Size      VMA       LMA       File off  Algn
  10.   0 .text         00000200  00000000  00000000  00000034  2**2
  11.                   CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  12.   1 .rodata       00000034  00000000  00000000  00000234  2**2
  13.                   CONTENTS, ALLOC, LOAD, READONLY, DATA
  14.   2 .data         00000000  00000000  00000000  00000268  2**0
  15.                   CONTENTS, ALLOC, LOAD, DATA
  16.   3 .bss          00000000  00000000  00000000  00000268  2**0
  17.                   ALLOC
  18.   4 .comment      00000014  00000000  00000000  00000268  2**0
  19.                   CONTENTS, READONLY
  20. SYMBOL TABLE:
  21. 00000000 l    d  .text    00000000 
  22. 00000000 l    d  *ABS*    00000000 
  23. 00000000 l    d  .rodata    00000000 
  24. 00000000 l    d  .data    00000000 
  25. 00000000 l    d  .bss    00000000 
  26. 00000000 l    d  .comment    00000000 
  27. 00000000 l    d  *ABS*    00000000 
  28. 00000000 l    d  *ABS*    00000000 
  29. 00000000 l    d  *ABS*    00000000 
  30. 00000000 l    df *ABS*    00000000 Msg2oldPPC.c
  31. 00000000 l     O .text    00000000 gcc2_compiled.
  32. 000001a4 g     F .text    0000005c printf
  33. 00000000         *UND*    00000000 PPCReleasePort
  34. 00000000         *UND*    00000000 PPCGetMessage
  35. 00000000         *UND*    00000000 PPCCreatePort
  36. 00000000         *UND*    00000000 PPCDeleteMessage
  37. 00000000         *UND*    00000000 PPCWaitPort
  38. 00000000         *UND*    00000000 PPCAllocVec
  39. 00000000         *UND*    00000000 PPCObtainPort
  40. 00000000         *UND*    00000000 PPCFreeVec
  41. 00000004 g     F .text    0000019c main
  42. 00000000         *UND*    00000000 PPCDeletePort
  43. 00000004       O *COM*    00000004 MyFile
  44. 00000000         *UND*    00000000 PPCSendMessage
  45. 00000000         *UND*    00000000 PPCCreateMessage
  46. 00000000         *UND*    00000000 PPCReplyMessage
  47. 00000000         *UND*    00000000 strlen
  48. 00000000         *UND*    00000000 PPCWrite
  49.  
  50.  
  51. Disassembly of section .text:
  52. 00000000 <gcc2_compiled.> .long 0x406c
  53. main():
  54. 00000004 <main> stwu    r1,-112(r1)
  55. 00000008 <main+4> mflr    r0
  56. 0000000c <main+8> stw    r26,88(r1)
  57. 00000010 <main+c> stw    r27,92(r1)
  58. 00000014 <main+10> stw    r28,96(r1)
  59. 00000018 <main+14> stw    r29,100(r1)
  60. 0000001c <main+18> stw    r30,104(r1)
  61. 00000020 <main+1c> stw    r31,108(r1)
  62. 00000024 <main+20> stw    r0,116(r1)
  63. 00000028 <main+24> lis    r30,-32766
  64. 0000002c <main+28> ori    r30,r30,16384
  65. 00000030 <main+2c> stw    r30,8(r1)
  66. 00000034 <main+30> lis    r9,0
  67.         RELOC: 00000036 R_PPC_ADDR16_HA .rodata
  68. 00000038 <main+34> addi    r9,r9,0
  69.         RELOC: 0000003a R_PPC_ADDR16_LO .rodata
  70. 0000003c <main+38> stw    r9,12(r1)
  71. 00000040 <main+3c> li    r26,0
  72. 00000044 <main+40> stw    r26,16(r1)
  73. 00000048 <main+44> addi    r3,r1,8
  74. 0000004c <main+48> bl    0000004c <main+48>
  75.         RELOC: 0000004c R_PPC_REL24 PPCCreatePort
  76. 00000050 <main+4c> mr.    r27,r3
  77. 00000054 <main+50> beq    00000178 <main+174>
  78. 00000058 <main+54> mr    r3,r27
  79. 0000005c <main+58> bl    0000005c <main+58>
  80.         RELOC: 0000005c R_PPC_REL24 PPCWaitPort
  81. 00000060 <main+5c> mr    r3,r27
  82. 00000064 <main+60> bl    00000064 <main+60>
  83.         RELOC: 00000064 R_PPC_REL24 PPCGetMessage
  84. 00000068 <main+64> mr.    r3,r3
  85. 0000006c <main+68> beq    00000074 <main+70>
  86. 00000070 <main+6c> bl    00000070 <main+6c>
  87.         RELOC: 00000070 R_PPC_REL24 PPCReplyMessage
  88. 00000074 <main+70> li    r3,28
  89. 00000078 <main+74> li    r4,1
  90. 0000007c <main+78> bl    0000007c <main+78>
  91.         RELOC: 0000007c R_PPC_REL24 PPCAllocVec
  92. 00000080 <main+7c> mr.    r31,r3
  93. 00000084 <main+80> beq    00000164 <main+160>
  94. 00000088 <main+84> stw    r26,8(r1)
  95. 0000008c <main+88> addi    r3,r1,8
  96. 00000090 <main+8c> bl    00000090 <main+8c>
  97.         RELOC: 00000090 R_PPC_REL24 PPCCreatePort
  98. 00000094 <main+90> mr.    r29,r3
  99. 00000098 <main+94> beq    0000015c <main+158>
  100. 0000009c <main+98> mr    r3,r29
  101. 000000a0 <main+9c> li    r4,28
  102. 000000a4 <main+a0> bl    000000a4 <main+a0>
  103.         RELOC: 000000a4 R_PPC_REL24 PPCCreateMessage
  104. 000000a8 <main+a4> mr.    r28,r3
  105. 000000ac <main+a8> beq    00000148 <main+144>
  106. 000000b0 <main+ac> stw    r30,8(r1)
  107. 000000b4 <main+b0> lis    r9,12
  108.         RELOC: 000000b6 R_PPC_ADDR16_HA .rodata+0x0000000c
  109. 000000b8 <main+b4> addi    r9,r9,12
  110.         RELOC: 000000ba R_PPC_ADDR16_LO .rodata+0x0000000c
  111. 000000bc <main+b8> stw    r9,12(r1)
  112. 000000c0 <main+bc> stw    r26,16(r1)
  113. 000000c4 <main+c0> addi    r3,r1,8
  114. 000000c8 <main+c4> bl    000000c8 <main+c4>
  115.         RELOC: 000000c8 R_PPC_REL24 PPCObtainPort
  116. 000000cc <main+c8> mr.    r30,r3
  117. 000000d0 <main+cc> beq    000000c4 <main+c0>
  118. 000000d4 <main+d0> mr    r3,r30
  119. 000000d8 <main+d4> mr    r4,r28
  120. 000000dc <main+d8> lis    r7,-30875
  121. 000000e0 <main+dc> ori    r7,r7,17185
  122. 000000e4 <main+e0> lis    r9,24
  123.         RELOC: 000000e6 R_PPC_ADDR16_HA .rodata+0x00000018
  124. 000000e8 <main+e4> addi    r11,r9,24
  125.         RELOC: 000000ea R_PPC_ADDR16_LO .rodata+0x00000018
  126. 000000ec <main+e8> mr    r5,r31
  127. 000000f0 <main+ec> li    r6,28
  128. 000000f4 <main+f0> lwz    r0,24(r9)
  129.         RELOC: 000000f6 R_PPC_ADDR16_LO .rodata+0x00000018
  130. 000000f8 <main+f4> lwz    r9,4(r11)
  131. 000000fc <main+f8> lwz    r10,8(r11)
  132. 00000100 <main+fc> lwz    r8,12(r11)
  133. 00000104 <main+100> stw    r0,0(r31)
  134. 00000108 <main+104> stw    r9,4(r31)
  135. 0000010c <main+108> stw    r10,8(r31)
  136. 00000110 <main+10c> stw    r8,12(r31)
  137. 00000114 <main+110> lwz    r0,16(r11)
  138. 00000118 <main+114> lwz    r9,20(r11)
  139. 0000011c <main+118> lwz    r11,24(r11)
  140. 00000120 <main+11c> stw    r0,16(r31)
  141. 00000124 <main+120> stw    r9,20(r31)
  142. 00000128 <main+124> stw    r11,24(r31)
  143. 0000012c <main+128> bl    0000012c <main+128>
  144.         RELOC: 0000012c R_PPC_REL24 PPCSendMessage
  145. 00000130 <main+12c> mr    r3,r29
  146. 00000134 <main+130> bl    00000134 <main+130>
  147.         RELOC: 00000134 R_PPC_REL24 PPCWaitPort
  148. 00000138 <main+134> mr    r3,r30
  149. 0000013c <main+138> bl    0000013c <main+138>
  150.         RELOC: 0000013c R_PPC_REL24 PPCReleasePort
  151. 00000140 <main+13c> mr    r3,r28
  152. 00000144 <main+140> bl    00000144 <main+140>
  153.         RELOC: 00000144 R_PPC_REL24 PPCDeleteMessage
  154. 00000148 <main+144> mr    r3,r29
  155. 0000014c <main+148> bl    0000014c <main+148>
  156.         RELOC: 0000014c R_PPC_REL24 PPCDeletePort
  157. 00000150 <main+14c> extsh    r3,r3
  158. 00000154 <main+150> cmpwi    cr1,r3,0
  159. 00000158 <main+154> beq    cr1,00000148 <main+144>
  160. 0000015c <main+158> mr    r3,r31
  161. 00000160 <main+15c> bl    00000160 <main+15c>
  162.         RELOC: 00000160 R_PPC_REL24 PPCFreeVec
  163. 00000164 <main+160> mr    r3,r27
  164. 00000168 <main+164> bl    00000168 <main+164>
  165.         RELOC: 00000168 R_PPC_REL24 PPCDeletePort
  166. 0000016c <main+168> extsh    r3,r3
  167. 00000170 <main+16c> cmpwi    cr1,r3,0
  168. 00000174 <main+170> beq    cr1,00000164 <main+160>
  169. 00000178 <main+174> lwz    r0,116(r1)
  170. 0000017c <main+178> mtlr    r0
  171. 00000180 <main+17c> lwz    r26,88(r1)
  172. 00000184 <main+180> lwz    r27,92(r1)
  173. 00000188 <main+184> lwz    r28,96(r1)
  174. 0000018c <main+188> lwz    r29,100(r1)
  175. 00000190 <main+18c> lwz    r30,104(r1)
  176. 00000194 <main+190> lwz    r31,108(r1)
  177. 00000198 <main+194> addi    r1,r1,112
  178. 0000019c <main+198> blr
  179. 000001a0 <main+19c> .long 0x404c
  180. printf():
  181. 000001a4 <printf> stwu    r1,-32(r1)
  182. 000001a8 <printf+4> mflr    r0
  183. 000001ac <printf+8> stw    r28,16(r1)
  184. 000001b0 <printf+c> stw    r29,20(r1)
  185. 000001b4 <printf+10> stw    r30,24(r1)
  186. 000001b8 <printf+14> stw    r31,28(r1)
  187. 000001bc <printf+18> stw    r0,36(r1)
  188. 000001c0 <printf+1c> mr    r28,r3
  189. 000001c4 <printf+20> lis    r9,0
  190.         RELOC: 000001c6 R_PPC_ADDR16_HA MyFile
  191. 000001c8 <printf+24> lwz    r29,0(r9)
  192.         RELOC: 000001ca R_PPC_ADDR16_LO MyFile
  193. 000001cc <printf+28> bl    000001cc <printf+28>
  194.         RELOC: 000001cc R_PPC_REL24 strlen
  195. 000001d0 <printf+2c> mr    r5,r3
  196. 000001d4 <printf+30> mr    r4,r28
  197. 000001d8 <printf+34> mr    r3,r29
  198. 000001dc <printf+38> bl    000001dc <printf+38>
  199.         RELOC: 000001dc R_PPC_REL24 PPCWrite
  200. 000001e0 <printf+3c> lwz    r0,36(r1)
  201. 000001e4 <printf+40> mtlr    r0
  202. 000001e8 <printf+44> lwz    r28,16(r1)
  203. 000001ec <printf+48> lwz    r29,20(r1)
  204. 000001f0 <printf+4c> lwz    r30,24(r1)
  205. 000001f4 <printf+50> lwz    r31,28(r1)
  206. 000001f8 <printf+54> addi    r1,r1,32
  207. 000001fc <printf+58> blr
  208. Disassembly of section .rodata:
  209. 00000000 <.rodata> rlwimi    r16,r2,8,12,16
  210. 00000004 <.rodata+4> andi.    r15,r3,29300
  211. ...
  212. 0000000c <.rodata+c> .long 0x4d36386b
  213. 00000010 <.rodata+10> subfic    r3,r16,28530
  214. 00000014 <.rodata+14> andis.    r0,r0,0
  215. 00000018 <.rodata+18> rlwinm    r5,r3,15,1,26
  216. 0000001c <.rodata+1c> subfic    r3,r19,25966
  217. 00000020 <.rodata+20> andis.    r0,r1,25209
  218. 00000024 <.rodata+24> subfic    r2,r16,20547
  219. 00000028 <.rodata+28> subfic    r3,r16,29295
  220. 0000002c <.rodata+2c> ori    r5,r27,29555
  221. 00000030 <.rodata+30> xoris    r18,r27,2560
  222. Disassembly of section .data:
  223.